from tortoise.contrib.pydantic import pydantic_model_creator

from models import Light

Light_Pydantic = pydantic_model_creator(Light, name="Light")
LightIn_Pydantic = pydantic_model_creator(Light, name="LightIn", exclude_readonly=True, exclude=("id",))
